Description: % SSOR预处理的共轭梯度法求解方程Ax=b
% 输入参数说明
% A 正定矩阵[n*n]
% b 右边向量
% omega SSOR预处理参数(0--2)
% Times 迭代次数
% errtol 给定误差终止条件
%
%输出参数
% NewX 方程Ax=b的x近似解
% avgerr 求解的当前平均绝对误差- SSOR preconditioning conjugate gradient method for solving equations Ax = b the input parameter descriptions A positive definite matrix [n* n] b right side vector omega SSOR preconditioning parameters (0- 2) Times iterations errtol termination of a given error condition NewX output parameter equation Ax = b of x approximate solution to solve the current avgerr average absolute error Platform: |
Size: 1024 |
Author:zhxj |
Hits:
Description: matlab编写的共轭梯度法,用来解决非线性优化问题-matlab prepared by the conjugate gradient method is used to solve nonlinear optimization problems Platform: |
Size: 9216 |
Author:zh |
Hits:
Description: matlab 实现几个常用的解线性方程组的数值算法。包括共轭梯度法、预处理共轭梯度法、SOR、Lanczos.(matlab implementation of several commonly used numerical algorithm for solving linear equations. Including the conjugate gradient method, preconditioned conjugate gradient method, SOR, Lanczos.) Platform: |
Size: 3072 |
Author:宋凌 |
Hits: